﻿using UnityEngine;
using System.Collections;

public class EnergyLimit : MonoBehaviour {
	public Player p;
	
	// Update is called once per frame
	void Update () {
		this.guiText.text=p.getUnits().Count+"/"+p.getUnits().Capacity;
	}
}
